package com.snack.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统配置实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_system_config")
@Schema(description = "系统配置")
public class SystemConfig extends BaseEntity {

    @Schema(description = "配置键")
    @TableField("config_key")
    @JsonProperty("configKey")
    private String configKey;

    @Schema(description = "配置值")
    @TableField("config_value")
    @JsonProperty("configValue")
    private String configValue;

    @Schema(description = "描述说明")
    private String description;
}

